math/big.nat.sub (method)
40 uses
math/big (current package)
float.go#L1285: z.mant = t.sub(x.mant, t)
float.go#L1288: z.mant = z.mant.sub(x.mant, z.mant)
float.go#L1292: z.mant = z.mant.sub(x.mant, y.mant)
float.go#L1296: z.mant = t.sub(t, y.mant)
float.go#L1299: z.mant = z.mant.sub(z.mant, y.mant)
ftoa.go#L201: lower.init(tmp.sub(mant, natOne), exp)
int.go#L152: z.abs = z.abs.sub(x.abs, y.abs)
int.go#L155: z.abs = z.abs.sub(y.abs, x.abs)
int.go#L173: z.abs = z.abs.sub(x.abs, y.abs)
int.go#L176: z.abs = z.abs.sub(y.abs, x.abs)
int.go#L601: z.abs = z.abs.sub(mWords, z.abs) // z == x**y mod |m| && 0 <= z < |m|
int.go#L1121: t := z.abs.sub(x.abs, natOne) // no underflow because |x| > 0
int.go#L1147: t := nat(nil).sub(x.abs, natOne)
int.go#L1163: t := z.abs.sub(x.abs, natOne)
int.go#L1179: x1 := nat(nil).sub(x.abs, natOne)
int.go#L1180: y1 := nat(nil).sub(y.abs, natOne)
int.go#L1198: y1 := nat(nil).sub(y.abs, natOne)
int.go#L1209: x1 := nat(nil).sub(x.abs, natOne)
int.go#L1210: y1 := nat(nil).sub(y.abs, natOne)
int.go#L1224: x1 := nat(nil).sub(x.abs, natOne)
int.go#L1231: y1 := nat(nil).sub(y.abs, natOne)
int.go#L1242: x1 := nat(nil).sub(x.abs, natOne)
int.go#L1243: y1 := nat(nil).sub(y.abs, natOne)
int.go#L1261: y1 := nat(nil).sub(y.abs, natOne)
int.go#L1272: x1 := nat(nil).sub(x.abs, natOne)
int.go#L1273: y1 := nat(nil).sub(y.abs, natOne)
int.go#L1291: y1 := nat(nil).sub(y.abs, natOne)
int.go#L1301: z.abs = z.abs.sub(x.abs, natOne)
nat.go#L128: func (z nat) sub(x, y nat) nat {
nat.go#L1294: zz = zz.sub(zz, m)
nat.go#L1417: return z.sub(x, y)
nat.go#L1420: z = z.sub(y, x)
prime.go#L87: nm1 := nat(nil).sub(n, natOne)
prime.go#L92: nm3 := nat(nil).sub(nm1, natTwo)
prime.go#L219: nm2 := nat(nil).sub(n, natTwo) // n-2
prime.go#L259: t1 = t1.sub(t1, natP)
prime.go#L270: t1 = t1.sub(t1, natP)
prime.go#L293: t1 = t1.sub(t1, t2)
prime.go#L316: t1 = t1.sub(t1, natTwo)
ratconv.go#L361: r = nat(nil).sub(r, p)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |